package com.wyp168.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

// 配置exclude  让SpringBoot项目启动时不需要去查找数据库，避免了一些不必要的问题
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan("com.wyp168")
public class OssAppMain {
    public static void main(String[] args) {
        SpringApplication.run(OssAppMain.class,args);
    }
}
